import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
/* eslint-disable */
// 引入element-ui组件
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
// 导入全局公共样式
import '@/assets/global.css'
// 导入公共字体图标
import '@/assets/fonts/iconfont.css'
// //vue原型上挂载axios
// import axios from "axios"; //this.$http=axios
// //配置基准通用路径地址
// axios.defaults.baseURL = "http://klxin.cn:8888/api/private/v1/";
// Vue.prototype.$http = axios;
// 引入公共组件文件
import bread from '@/common/bread.vue'
// 注册全局公共组件
Vue.component('bread', bread)
// 引入并注册外部树形组件
import ZkTable from 'vue-table-with-tree-grid'
Vue.use(ZkTable)
// 引入lodash js库
import 'lodash'
// 导入并注册filter
// import filter from '@/common/filter.js'
// Vue.filter('format', filter)
import miment from 'miment'
Vue.filter('format', val => {
  return miment(val).format('YYYY/MM/DD hh-mm-ss')
})
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
